<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<dl>
		  <dt>term 1</dt>
		  <dd>definition 1-a</dd>
		  <dd>definition 1-b</dd>
		  <dd>definition 1-c</dd>
		  <dd>definition 1-d</dd>
		
		  <dt id="term-2">term 2</dt>
		  <dd>definition 2-a</dd>
		  <dd>definition 2-b</dd>
		  <dd>definition 2-c</dd>
		
		  <dt>term 3</dt>
		  <dd>definition 3-a</dd>
		  <dd>definition 3-b</dd>
		</dl>
	</body>
	<script type="text/javascript" src="../../../../js/jquery-1.4.1.js" ></script>
	<script>
		//查找当前元素之后所有的同辈元素，直到遇到匹配的那个元素为止。
		$("#term-2").nextUntil("dt").css("background-color","red");;
	</script>
</html>
